package com.itrip.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@ApiModel
public class OrderVo {
    @ApiModelProperty(name = "hotelId",value = "酒店Id",example = "1")
    private Integer hotelId;     //酒店Id
    @ApiModelProperty(name = "roomId",value = "房间Id",example = "4")
    private Integer roomId;      //房间Id
    @ApiModelProperty(name = "checkInDate",value = "入住时间",example = "2020-8-21")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date checkInDate;    //入住时间
    @ApiModelProperty(name = "checkOutDate",value = "离开时间",example = "2020-8-25")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date checkOutDate;    //离开时间
    @ApiModelProperty(name = "count",value = "消耗房间数",example = "2")
    private Integer count;        //消耗房间数
    @ApiModelProperty(name = "linkUserName",value = "入住人姓名",example = "abc")
    private String linkUserName;      //入住人姓名
    @ApiModelProperty(name = "noticePhone",value = "联系手机号",example = "15696477852")
    private String noticePhone;   //联系手机号
    @ApiModelProperty(name = "payAmount",value = "支付金额",example = "1000")
    private BigDecimal payAmount;  //支付金额

    public Date getCheckInDate() {
        return checkInDate;
    }

    public void setCheckInDate(Date checkInDate) {
        this.checkInDate = checkInDate;
    }

    public Date getCheckOutDate() {
        return checkOutDate;
    }

    public void setCheckOutDate(Date checkOutDate) {
        this.checkOutDate = checkOutDate;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getHotelId() {
        return hotelId;
    }

    public void setHotelId(Integer hotelId) {
        this.hotelId = hotelId;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public String getLinkUserName() {
        return linkUserName;
    }

    public void setLinkUserName(String linkUserName) {
        this.linkUserName = linkUserName;
    }

    public String getNoticePhone() {
        return noticePhone;
    }

    public void setNoticePhone(String noticePhone) {
        this.noticePhone = noticePhone;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }
}
